
<!DOCTYPE html>
<html lang="en-US">
<head>
    <meta charset="UTF-8"/>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" name="viewport" />
    <meta http-equiv="content-script-type" content="text/javascript">
    <meta name="format-detection" content="telephone=no" />
    <!-- uc强制竖屏 -->
    <meta name="screen-orientation" content="portrait">
    <!-- QQ强制竖屏 -->
    <meta name="x5-orientation" content="portrait">
            <link rel="shortcut icon" href="/favicon.ico">
            <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
        <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="Expires" content="0" />
    <title>授权登陆查询</title>
    <link rel="stylesheet"href="statics/mobile/css/style.css?v=20170811593336556457">
    <link rel="stylesheet"href="statics/mobile/css/SpsBtn.css?v=20170811593336556457">

    <link rel="stylesheet"href="statics/mobile/css/User/reset.css?v=20170811593336556457">
    <link rel="stylesheet"href="statics/mobile/css/Agent/commission.css?v=20170811593336556457">

</head>

<body style="width:100%;">
  <section class="fall-back"><a href="javascript:;">授权查询</a></section>
<div class="membersbox pad50">


    <input type="hidden" name="remaining_commission" value="<?php echo $customer_count['amount'];?>"/>
    <input type="hidden" name="withdraw_start_amount" value="1"/>
    <input type="hidden" name="withdraw_percentage" value="0"/>
    <input type="hidden" name="max_tx_money" value=""/>
    <input type="hidden" name="min_tx_money" value=""/>
    <input type="hidden" name="is_draw_int" value="0"/>
    <input type="hidden" name="not_limit_commission" value="0"/>
    <input type="hidden" name="withdraw_multiple" value="1"/>
    <input type="hidden" name="withdraw_proportion" value=""/>
    <input type="hidden" name="specify_time" value=""/>
    <input type="hidden" name="in_time" value="1"/>
    <section class="cashitem depositvip">
        <section class="data-content">

            
            <section class="data_f">
                <div class="IntegralDetail" id="J-listuser">
                    <h2><span>下级代理列表</span></h2>
					<table style="width:100%;">
					  <thead>
						  <tr>
							  <td>代理</td>
							  <td>电话</td>
							  <td>成单量</td>
							  <td>等级</td>
						  </tr>
					  </thead>
					  <tbody>
						  <?php foreach($result["data"]["sub"] as $k=>$v){?>
						  <tr>
							  <td><?php echo $v['username'];?></td>
							  <td><?php echo $v['mobile'];?></td>
							  <td><?php echo 3;?></td>
							  <td><?php echo $v["agent_level"];?></td>
						  </tr>
						  <?php }?>
					  </tbody>
				  </table>
                </div>
				  
            </section>

            <section class="data_f">
                <div class="IntegralDetail" id="J-listuser">
                    <h2><span>上级代理</span></h2>
                    <table style="width:100%;">
                        <thead>
                        <tr>
                            <td>代理</td>
                            <td>电话</td>
                            <td>成单量</td>
                            <td>等级</td>
                        </tr>
                        </thead>
                        <tbody>
                        <?php foreach($result["data"]["sup"] as $k=>$v){?>
                            <tr>
                                <td><?php echo $v['username'];?></td>
                                <td><?php echo $v['mobile'];?></td>
                                <td><?php echo 3;?></td>
                                <td><?php echo $v["agent_level"];?></td>
                            </tr>
                        <?php }?>
                        </tbody>
                    </table>
                </div>

            </section>

            <section class="data_f">
                <div class="IntegralDetail" id="J-listuser">
                    <h2><span>本人</span></h2>
                    <table style="width:100%;">
                        <thead>
                        <tr>
                            <td>代理</td>
                            <td>电话</td>
                            <td>成单量</td>
                            <td>等级</td>
                        </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td><?php echo $result["data"]["me"]['username'];?></td>
                                <td><?php echo $result["data"]["me"]['mobile'];?></td>
                                <td><?php echo 3;?></td>
                                <td><?php echo $result["data"]["me"]["agent_level"];?></td>
                            </tr>
                        </tbody>
                    </table>
                </div>

            </section>
        </section>
       
    </section>
    <?php include VIEWS_PATH."bottom.php";?>

    <b id="htmlReplace-navCart"></b>
</div>

<?php include VIEWS_PATH."footer.php";?>



</body>
</html>
<!-- 20170105 -->
